• Hi,

    I’m sorry, but this may seem like a stupid question, but how do i wake it work?
    Ok i installed it, activated it, checked the service i want to use (Google analytics) in the settings, what next?
    Where do i put my tracking code?
    Do i have to insert the code given in the settings in for example the footer.php file in my theme?

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hi, this plugin is based on the project “tarteaucitron.js”, and you need to read the doc, it will explain how the core works = https://opt-out.ferank.eu/en/install/
    About the integration method, like for eg Google Map Embed, you have to change the way you call it in wordpress: the traditionnal “iframe scr=”” will be remplaced by
    <div class="googlemapssearch" data-search="SEARCHWORDS" data-api-key="YOUR_GOOGLE_MAP_API_KEY" width="WIDTH" height="HEIGHT" ></div>

    Idem, you will no longer use the script provide by Google Analytics, but the script provide by tarteaucitron, e.g. :

    <script type="text/javascript">
    tarteaucitron.user.gajsUa = 'UA-XXXXXXXX-X';
    tarteaucitron.user.gajsMore = function () { /* add here your optionnal _ga.push() */ };
    (tarteaucitron.job = tarteaucitron.job || []).push('gajs');</script>

    Like author said, when (s)he will get time, (s)he will create shortcodes that will help for integration.
    Conclusion: you have to know how to deal with the code and wp templates, if you don’t, just forget. Hope that help, maybe some people more experimented will give you better answer.
    By the way, I came here to congratulate the author Ricci Dorian for making this great AND FREE plugin! Thank you !
    Akal

    Thread Starter o2xav

    (@o2xav)

    Excellent!
    Thank you for your answer, it’s what i did, but wasn’t 100% sure it would work since the site is still on localhost.

    Thanks again

    Plugin Author Dorian

    (@rdorian)

    Thank you @akalwp for the answer.
    Once you checked the service that you want to activate, you juste copy the Javascript code (visible from the button on the right “JS code”) and paste it in the textarea on the top of the page (if there is Javascript code for the service). Don’t forget to change this code with your own values and save the modifications.
    For the HTML (if there is HTML code for the service) you can also click on the “HTML Code” but put it on the page where you want it. (Short code are coming soon, after my examen).

    Thread Starter o2xav

    (@o2xav)

    Oh Thanks Dorian for the precisions,
    i thought i had to inject the JS myself in the head or footer;

    Next time i will add it in the text area.

    Cheers, and keep up the great job !

    Plugin Author Dorian

    (@rdorian)

    Your welcome!
    I know this is not very well documented for now, so I juste created a little website for the documentation and updated the plugin to add the link in the main page of the plugin to this new documentation.
    I hope it will be enough for now to begin with it, but if there is something missing or not clear, don’t hesitate to contact me via the issue tab from git lab (the link for the documentation issues is in the documentation.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘How to ?’ is closed to new replies.