ios - GoogleTagManager error: _avn has no backing implementation -


this simple push data layer of screen view prints error verbose logging enabled. , subsequent calls data layer fail. neither logged nor executed.

[[tagmanager instance].datalayer push:@{@"event" : @"screen-loads",                                                     @"screen-name": [tracker get:kgaiscreenname],                                                     @"viewcontroller" :nsstringfromclass([sender class])                                                     }]; 

this error message being logged:

googletagmanager error: _avn has no backing implementation. 

the clue in _avn. our friends on @ analytics pros took @ container , noticed had reference built in variable {{app version name}}. noticed wasn't set, , think it's variable no longer part of v2.

anyway, changing {{app version name}} {{app version code}} got rid of error , data flowing freely. hope helps.


Comments

Popular posts from this blog

How has firefox/gecko HTML+CSS rendering changed in version 38? -

javascript - Complex json ng-repeat -

jquery - Cloning of rows and columns from the old table into the new with colSpan and rowSpan -