Where to put Google Tracking-ID

Hi Guys,

I’m going to use Google Ads, and now I have two choices.
Install a tracking-ID through my hostingservice (combell), or install some code on each of my website pages.

The second option means that, each time I update my website, I’ll have to add that code again, so I would prefer the first option.

Problem is that the guys at Combell have no clue where I have to put that tracking-ID.

Someone ran into the same problem and can guide me ?

Thanks,

Marc

Hi @marpatbv,

We have an easy to follow guide here that shows where you can put your Google Analytics code snippet in RapidWeaver’s settings. It will be placed on all your web pages, no need to put it on each individual page.

I think with GA-4 you can combine all your tags into one code snippet, including Ads, but I might be incorrect about that.

Hope that helps.

Hi Dang,

Great, I’ll try it straight away.

Thanks,

Marc

Great, let us know if you have any troubles with it.

Hello dang, that works fine, but is there a possibility to make the use of this code dependent on the value of a cookie ? We need to ask authorisation on our website to use analytics, and if the visitor refuses, we cannot use the google analytics code. (if I am not mistaken)

You’ll need some sort of Cookie management stack that allows conditional loading of content. It’s a bit of a minefield.

I own:

  • Minicookie from Stacks4Stacks - Seems pretty comprehensive, and is working for me doing what you’re looking to do with Google Tags, Facebook Pixel, etc. Will’s support is great, too.
  • Privacy Center from RWPro Dev - VERY comprehensive and granular control. Probably the most granular solution, but also quite complex to setup.
  • Cookie Jar from Weaver’s Space - I wanted to love this, because as a (new) Foundation 6 user, it should be the simplest setup, and styling in line with the rest of the site was easy with Swatches. However, I had issues getting it to conditionally pop up in a lighbox, and was advised to purchase a 3rd party project (€49) to see how to get it working. It also uses local storage, rather than placing an actual cookie, so is potentially difficult to audit, possibly not secure, and therefore potentially non-compliant with GDPR. That said, with these issues addressed, it would be my perfect solution.

Hope this helps!

Hello Adam, I’ll take a look at these and let you know when I get it working.
Thanks for the input !

Marc

Hi, if all this appears too complex to implement, maybe you could have a look at an external solution. Google Tag Manager (GTM) and Cookiebot ensure GDPR compliance by managing cookies based on user consent. Cookiebot provides customizable cookie consent banner templates and blocks non-essential cookies until consent is given, informing GTM to trigger tags accordingly. Cookiebot offers an easy external solution starting at €7/month/domain (ouch), simplifying compliance with minimal effort.

1 Like

In addition to @jacksona and @Bruno excellent suggestions, I just wanted to add the https://www.cookieyes.com/ service. A forum member mentioned this back when we were using the Circle forum and it looked like a really nice service.

They offer a Free plan for small blogs and personal websites, but for larger sites they are currently having a Black Friday promotion for up to 50% off their paid plans.

1 Like

Thanks for all these suggestions guys.

For the moment I’m using Will Woodgate’s excellent Concierge tool, which also let’s me manage the cookies, but I don’t know how to enable/disable the code that Google analytics wants me to include in the head / body part of the code, depending on the cookies selected.
Concierge lets me enable / disable parts of the website, based on the cookie settings, but it has no control over the Google Analytics code, which would be neccessary to be GDPR compliant (I think). Or am I missing something ?

Concierge is the best tool. Contact Will directly.

Hello Bruno, I will contact him. I think that - since the code is written in the code part of Rapidweaver - Concierge cannot control it, but I will ask Will anyway.

1 Like

You can paste the code in an HTML stacks instead of putting it in the Code tab. The only downside is that you’ll have to do it for each page, instead of just once.

Then make the loading of the HTML stack in question dependent on the cookie stack that you use (cookies ‘yes’ = load html stack, cookies ‘no’ = ignore html stack).

Will’s free Cookiemanager stack (yes, he has a lot of cookie stacks) will do this trick out of the box.

Cheers,
Erwin

1 Like

Ah yes I forgot to mention that Concierge do that. Use the cookie to block an item until consent is given. One of the many many great possibilities of Concierge. Thank you very much @willwood for all your great stacks :+1:

Indeed an amazing tool !

1 Like

Here is some draft documentation out of the Concierge user guide. I’ll share it here for the next 7 days, for the benefit of anyone else who wants to read it:
https://www.dropbox.com/t/BUpghiJakefCYnxB

It should be possible to zoom the screenshots in Preview. This was using RapidWeaver Classic and Stacks 5.

I am aware that this mostly talks about Google Analytics. But by my own reckoning, the procedure for any other type of Google tracking (like tag manager and AdWords) should be almost identical too.

1 Like