24
Views
1
Comments
Solved
[Google Tag Manager Mobile] Getting "l is not defined" in TagManager
Question
googletagmanagermobile
Mobile icon
Forge asset by Ryan Surjadi
Application Type
Mobile

Getting the error "l is not defined"


Because of there there is error in JavaScript in HeaderBlock. in which there is a parameter "l" in js it is defined as only "l" but it should be "var l;" instead of "l", that's why getting "l is not defined.

I'm sharing the screenshot also.


tagmanagerpic.png
2020-02-28 09-46-54
Eduardo Jauch
Solution

Actually, that seems a mistake. "l" is a parameter of the function. There is no need for that "floating" l in there. Deleting it should be fine.

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.