Resident Implementation @ MeasureCamp

26
How to prevent GTM zombies infecting your data!

Transcript of Resident Implementation @ MeasureCamp

Page 1: Resident Implementation @ MeasureCamp

How to prevent GTM zombies

infecting your data!

Page 2: Resident Implementation @ MeasureCamp

THE FOLLOWING TALK IS BASED ON A REAL IMPLEMENTATION IN 2015. THESE SLIDES

ARE BASED ON "PROJECT COMPLETION DEBRIEF" DOCUMENT. SOME DETAILS REMOVED FOR CONFIDENTIALITY. PLEASE DOWNLOAD THE

INTERACTIVE TEST bit.ly/residentslides

NO ZOMBIE WERE HARM (MUCH) IN THE

MAKING OF THIS PRESENTATION.

Page 3: Resident Implementation @ MeasureCamp

Download link… bit.ly/residentslides

Page 4: Resident Implementation @ MeasureCamp

• You are an Elite Analytics Agency (EAA) specialising in GA and GTM implementations and clean-up operations.

The Analytics Agency

Page 5: Resident Implementation @ MeasureCamp

• You pitched & won a new client. The client is Umbrella Corporation a global publishing brand.

• But, there was a 1 condition…

The Client

Page 6: Resident Implementation @ MeasureCamp

• The client requested that the detailed GTM audit is replaced with a preliminary audit (i.e. just a surface scan).

• The project worth £45K pounds!

Contract Condition

Page 7: Resident Implementation @ MeasureCamp

…You agree to this condition

Contract Condition

Page 8: Resident Implementation @ MeasureCamp

The hidden truth…

- Umbrella Scientific Marketing Dept have been using on GTM since its inception since 2012. They are early adopters & have good intentions.

- However, they have been accidentally making human errors (Zombies) and technical mistakes (IT Booby Traps) at a frequency & scale you have never seen before!

Background

Page 9: Resident Implementation @ MeasureCamp

The hidden truth…

- There was a hidden clause in your contract that says you must complete within 3 months - otherwise you wont be compensated.

- The project has started, there`s no exit clause - you are locked-in. The only way to escape is to complete the implementation.

- There are 5 mini-tasks to reach complete. For each task you get wrong Umbrella removes -5% from your project bounty.

Locked-in cause & Deadline

Page 10: Resident Implementation @ MeasureCamp

- If you are unsure you have a hint button.

- To get help from your friendly GTM assassin

The Good news

Page 11: Resident Implementation @ MeasureCamp

Terminologies

Page 12: Resident Implementation @ MeasureCamp

People: Zombies = Brainless Marketers

Page 13: Resident Implementation @ MeasureCamp

Zombie Examples

- Using 20 tags rather than 1 tag + lookup tables

- No normalised GTM container naming structure

- 74 tags used to trigger the pageview rather than 1 All page rule.

- Changes made straight to LIVE!

- IsDebug=True blocking trigger broken!

Page 14: Resident Implementation @ MeasureCamp

The best way to heal Marketing Zombies is through upskilling and processes.

• Training makes them less likely to become zombies.

• Processes mean that accidental zombies are quarantined. e.g. Using a separate DEV & LIVE container is an excellent preventative process.

Healing

Page 15: Resident Implementation @ MeasureCamp

Tools: IT Booby Traps = Technical Mistakes or Pit holes

Page 16: Resident Implementation @ MeasureCamp

IT Booby Traps

- 3rd party GA integration tools issue

- Inline jQuery scroll tracking script outputting gaq.push

- Double pageviews from Inline pageview & GTM pageview

- System auto-upgraded to V2 interface whilst working on account

- CMS is 8 years old

Page 17: Resident Implementation @ MeasureCamp

Fixing

- Experience: learn from peoples mistakes.

- Changing the system helps (e.g. auto-events are safer than jQuery listeners)

- Automation: GTM/GA api and GoogleSheets api

Page 18: Resident Implementation @ MeasureCamp

L05 L04 L03 L02 L01

1: When migrating to universal do you Setup Parallel Tracker or Single

Tracker?

Parallel Tracker

Single Tracker

Page 19: Resident Implementation @ MeasureCamp

L05 L04 L03 L02 L01

2. When setting up a GTM JavaScript Error tracker which profile do you

send it to?

Existing UA Account

Different UA Profile

Does not matter as GA filters used

to include/exclude errors

ErrorTracker not needed

Page 20: Resident Implementation @ MeasureCamp

L05 L04 L03 L02 L01

3. Your A/B testing tool is sending GA non-interactive event hits to all

trackers on every page - how should you fix this using GTM?

Rename trackerNames

Rename "ga" > "ga2" object

Hint

Turn-off A/B testing tool integration within tool settings. Update A/B testing tool integration to output Custom Dimension (not events)

Page 21: Resident Implementation @ MeasureCamp

L05 L04 L03 L02 L01

4. You have exceeded Hit limit in due & received warning from

Google. How can you reduce the limit without spending any more money?

Enable 10% client side sampling on secondTracker

Disable 1% speed tracker

Buy GA premium

Use a filter to exclude all event hits

Page 22: Resident Implementation @ MeasureCamp

L05 L04 L03 L02 L01

5. How do you enable Cross Domain tracking from clientdomain.com to

cart.com via GTM?

use userID based “session unification”

update htaccess file

Hint

GTM native link function

clientId setting in GTM and JSmacro script

Page 23: Resident Implementation @ MeasureCamp

Thanks!

Page 24: Resident Implementation @ MeasureCamp

Agh.. I wonder what

time is lunch?

Special Thanks to…

Page 25: Resident Implementation @ MeasureCamp

…and thanks for the hits!

A few more degrees to the right &

I`ve got him!

Page 26: Resident Implementation @ MeasureCamp

Answers crossDomain tracking into cart.com but not using .htaccess patch (specific use case) https://plus.google.com/117298997433687198127/posts/R5r3Bp88ir7 Accidentally bad GA integrations (e.g. A/B testing tool called Monetate send 3x hit limit) https://plus.google.com/117298997433687198127/posts/BWx5fwQVHsW Using _initData to reduce Hits during a migration https://plus.google.com/wm/1/117298997433687198127/posts/McER3buexek GTM Blacklisting but allowing JS macros https://plus.google.com/117298997433687198127/posts/aVKq1NjMjBG isAdBlocked customDimension http://83.223.104.160/~searchph/_testing_script/_____natgeo/gtm-code-examples/25_dl_pageSubCategory_120events.html GTM JSmacro performance tip https://plus.google.com/117298997433687198127/posts/2TVMsVAtaMU GTM QA trick to end 70 event in one go using GTM timer https://plus.google.com/117298997433687198127/posts/aiKNGTW5pnn PII patch using GTM https://plus.google.com/117298997433687198127/posts/YQ9hraiLh7k