Tagged: x
-
AuthorPosts
-
September 24, 2016 at 2:55 am #1188917
asiitanParticipantHi there!
For some reason I am not able to install google analytics on my website
http://www.theatrum.ee Could anyone help?
AndresSeptember 24, 2016 at 3:07 am #1188925
ChristopherModeratorHi there,
Because this requires a template change, I’d advise that you setup a child theme. This allows you to make code changes that won’t be overwritten when an X update is released. After your child theme is setup, please review how we recommend making template changes in Customization Best Practices.
Please add following code in child theme’s functions.php file :
function third_party_tracking_code() { ?> <script> // add google analytics code below this line. </script> <?php } add_action( 'wp_head', 'third_party_tracking_code' );Hope it helps.
September 26, 2016 at 3:26 pm #1191361
asiitanParticipantHi!
Just to be on the safe side. I have made really many changes to the design and there are hundreds of css-lines in the customization area. If I now install the child theme (my current X version is 4.4.2) will I have all the changes kept or do I need to copy the custom css and paste it into the child theme?
What are the dangers to lose my settings?Grateful for your help.
Andres
September 26, 2016 at 4:52 pm #1191451
JadeModeratorHi Andres,
Have you tried installing the Google Analytics extension in the Addons page? If so, what issue do you have whenever you are trying to install it. We could have a look but would you mind providing us with login credentials so we can take a closer look? To do this, you can make a post with the following info:
– Link to your site
– WordPress Admin username / password
– FTP credentialsDon’t forget to select Set as private reply. This ensures your information is only visible to our staff.
September 26, 2016 at 5:26 pm #1191487
asiitanParticipantThis reply has been marked as private.September 27, 2016 at 12:35 am #1191796
FriechModeratorHi Andres,
Would you mind lettings us know what error message is it?
You can always play safe when switching themes. You can save your Customizer settings on Addons > Customizer Manager > Export. Also take a screenshot of your sidebar under Appearance > Widgets in case WP reset it. Also take note of your primary menu under Appearance > Menus.
Hope it helps, Cheers!
September 27, 2016 at 1:42 am #1191832
asiitanParticipantHi Friech
When I am trying to install the extension, it says “Errors encountered” and when I click on details, it says “No package provided”.
I double-checked and everything must be fine with the license.Best wishes,
AndresSeptember 27, 2016 at 2:00 am #1191847
ChristopherModeratorHi there,
Please try following these steps:
1] Please go to X Addons > Home and revoke the validation.
2] Please login to your account and revoke the license. https://community.theme.co/my-account/
3] After you have revoke the license, you need to re assign the license again to your site using this url: https://www.your-domain.com/. You have to make sure that url you just assign is the same as the one you have in your settings, Settings > General > Site Address
4] Go back to X Addons > Home again, and insert the license again.Hope it helps.
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1188917 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
