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
BedrockMission!

Learn more

View all

Sign in to view all badges

mn6
Community profile mn6 Level 1
Job title here
Location here
2 BADGES
Level 1

Level 1

Learn more
Joined the community 21-11-2018 7:22:17 AM
Offline
Top badges earned by mn6
Customize the badges you want to showcase on your profile
Set Page Google Analytics
Avatar
Ignite 1
Level 1
mn6
Level 1

Like

1 like

Total Posts

2 posts

Correct reply

0 solutions
Top badges earned
Ignite 1
Boost 1
View profile
mn6
- Dynamic Tag Management
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

683

Likes

0

Replies

0
Match method with Regex to fire tag on certain site pages
Avatar
Ignite 1
Level 1
mn6
Level 1

Like

1 like

Total Posts

2 posts

Correct reply

0 solutions
Top badges earned
Ignite 1
Boost 1
View profile
mn6
- Dynamic Tag Management
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