Where to place config codes
-
Hi,
I am using Google Analytics Germanized with gtag.js, which I don’t understand too well.
I want to make sure the duration of the _ga cookie is only one year. The Google Analytics developer page for cookies says to add the following config code:
gtag('config', 'GA_TRACKING_ID', { 'cookie_expires': 31536000 // one year (in seconds) });
In Google Analytics Germanized, will that code work if I paste it into the Code (head) section of the Tracking Codes field in the plugin settings? Or does it need to go somewhere else?
Thanks!
The page I need help with: [log in to see the link]
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
- The topic ‘Where to place config codes’ is closed to new replies.