Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

mn6
mn6
Offline

Badges

Badges
2

Accepted Solutions

Accepted Solutions
0

Likes Received

Likes Received
1

Posts

Posts
2

Discussions

Discussions
0

Questions

Questions
2

Ideas

Ideas
0

Blog Posts

Blog Posts
0
Top badges earned by mn6
Customize the badges you want to showcase on your profile
Set Page Google Analytics
mn6
- Dynamic Tag Management 04-12-2018
I am trying to force the Page Tracking on my site (see: Link).What I am hoping to achieve is prepend the market name to the URI which I can pull out of my site's dataLayer (variable = dataLayer.language and thus the new Page Path: dataLayer.language.substring(0,2)+document.location.pathname e.g. /en/pagepath1/pagepath2.I've created a script below to define this.There is a small complication here in that some of the pages already have the country/language variation passed in the URL so I have a r...

Views

757

Likes

0

Replies

0
Match method with Regex to fire tag on certain site pages
mn6
- Dynamic Tag Management 04-12-2018
I'm trying to fire a Google GTAG script only on certain language variations of our site, I can't create a condition to fire this in our Tag Manager as it will impact other tags and pixels firing on the page rule.I wan't the tag to fire only on certain language variations: '^/(at|cn|cz|de|dk|en|eu|fr|it|nl|no|pl|pt|pt-br|se)/)'I'm trying to achieve this by using match method with Regex but I am getting a syntax error that I can't figure out on the below script: "Uncaught SyntaxError: Unexpected t...

Views

1.2K

Like

1

Replies

1
Likes from