How to add Analytics tracking code in Plikli | Plikli Customization | Forum

Avatar

Please consider registering
Guest

Search

— Forum Scope —




— Match —





— Forum Options —





Minimum search word length is 3 characters - maximum search word length is 84 characters

Register Lost password?
sp_Feed sp_TopicIcon
How to add Analytics tracking code in Plikli
Avatar
Punk
Member
Members
Forum Posts: 3
Member Since:
June 13, 2018
sp_UserOfflineSmall Offline
1
June 13, 2018 - 10:19 pm
sp_Permalink sp_Print sp_EditHistory

Give me some instructions to add Google analytics code in my website.

Avatar
redwine
Admin
Forum Posts: 87
Member Since:
February 21, 2018
sp_UserOfflineSmall Offline
2
June 14, 2018 - 2:04 pm
sp_Permalink sp_Print

I moved your topic to Plikli Customization because Google Analytics is not a component of Plikli CMS, therefore your post is not considered as support!

Your best option is to use the Snippets Module that is included with Plikli in the /modules/ folder.

1- Go to Dashboard -> Modules -> Uninstalled Modules and install the snippets module
2- A link to the snippet module's settings will appear in the left sidebar under Modules. Click on it
3- Click "Add New" and give the snippet a name (like Analytics)
4- Select a Location: I believe that the Google analytics script should be loaded before the Body end tag, so select from the location dropdown
tpl_plikli_body_end - Before </body> tag
5- In the content, make sure that the script code is wrapped with {literal} {/literal} like so:
{literal}THE GOOGLE ANALYTICS SCRIPT GOES HERE {/literal}

6- And finally, make sure the the Google analytics script is on one line. You have to remove the line breaks and make all the script as one line.

Let me know how it goes.

Remember this is a customization request and I cannot guarantee that I can answer questions about it in a timely manner. Priority is for Plikli components!

Avatar
Punk
Member
Members
Forum Posts: 3
Member Since:
June 13, 2018
sp_UserOfflineSmall Offline
3
June 19, 2018 - 7:45 pm
sp_Permalink sp_Print

Now its working. thanks for your support Mr. Redwine

Forum Timezone: Asia/Beirut

Most Users Ever Online: 7

Currently Online:
2 Guest(s)

Currently Browsing this Page:
2 Guest(s)

Top Posters:

Mosage: 25

john: 16

StaticMove: 13

Martin Gold: 10

Marcus Vinicius: 7

Mark: 5

Punk: 3

Jiyath: 3

hicks: 2

Kshitij: 1

Newest Members:

scaur

Martin Gold

axunoh

Robinson

Punk

john

StaticMove

Marcus Vinicius

Kshitij Kumar

Mosage

Forum Stats:

Groups: 1

Forums: 8

Topics: 26

Posts: 175

 

Member Stats:

Guest Posters: 0

Members: 17

Moderators: 1

Admins: 1

Administrators: redwine

Moderators: Kshitij Kumar