joycegrace
Forum Replies Created
-
Forum: Plugins
In reply to: [Sweet Custom Menu] Compatible with WordPress 4.2Yes I’d also like to know this please
Hi Mike, thanks for your reply. I wouldn’t expect you to figure out Google Analytics for your users. I just thought something wasn’t right with the output of what your plugin produces on the “Submit button attributes” section, because it would never ‘send’ to Google Analytics for some reason, and others had reported this as well. I pretty much gave all that you’d need to know in my original post to be able to solve this as far as your plugin would be concerned. I only mentioned it at all in this forum because I thought it had to do with your plugin specifically. I hope that clarifies things.
If you have a how-to article I’d love to read it though. Because I could never figure it out.
At any rate, if anyone else is trying to research this more, I wrote about how I was able to set up tracking for events using your plugin and the new Google Analytics autotrack.js script here:
I use Google Analytics by Yoast, so my instructions in there were specific to that combination of plugins.
In the Submit button attributes, I can now just enter some simple additions to the HTML and it can track the form submissions using your plugin. So far so good, but I’ll post here if I encounter other issues.
Hi this turned out to be unnecessary. Sorry for the trouble. I realized I was mis-reading instructions earlier, and kind of asking a dumb question.
For those who want to know, and are researching this:
Google Analytics scripts are designed to be able to load before or after the main tracking script, so the autotrack.js can be loaded in the header, like any other script.
It has to be uploaded to your site though, and it needs to be set up in the custom code section of the Google Analytics by Yoast plugin. So go to Google Analytics > Settings > Advanced tab and in the custom code box you can enter this:
__gaTracker(‘require’, ‘autotrack’);
And then you can start using autotrack.
note: the format of “__gaTracker” is a Google Analytics by Yoast plugin thing – if you are using another plugin or another method of inserting your tracking code, you may need to use just plain “ga” or something else specific to the plugin you’re using. Yoast or someone else may need to confirm this. Google Analytics pages and instructions will tell you to use “ga”.
So, then, after that is set up, for example you can add this to a submit button on a form:
data-event-category=”Booking form” data-event-action=”Submit” data-event-label=”home page booking form”
(all samples used above, but you always need to enter “data-event-category=”something”” and so on)
This is way easier than setting up tracking without autotrack.js, which would look something like what this site will generate for you:
https://raventools.com/gaconfig/google-analytics-event-tracking/That means with autotrack.js your HTML would look something like this:
<input type=”submit” id=”your-button-id” class=”your-button-class” value=”Submit” data-event-category=”category-name” data-event-action=”Submit” data-event-label=”label-you-want-to-name-this” onclick=”” />
I was able to use Fast Secure Contact Form as well by going to their Advanced tab on a form and entering these as submit button attributes. Just an extra tip. But you can do this on any event. Like a video play button, etc.
Oh and Autotrack.js can track your social shares, and other things. Pretty nifty. See links in my original post for more info.
I’m trying to track the form submission when someone clicks to submit a password on a WordPress password protected posts. This is using native WordPress password protection for posts and pages. It doesn’t come with an ID or class – or at least I can’t find it when using Inspect Element on Chrome.
So I’m wondering if I could say, define the “submit” button click somehow. I guess that may count as a form submission?
The hard thing here is that the ‘target’ of the form is actually the same page – the URL does not change when someone submits the password. So I’m having trouble understanding how to set this up properly, whatever the method. GTM trials have not worked for me so far, but I can’t figure out why. No matter how broad or specific I get with the rules, the tag won’t fire for me.
This may be a dumb response, but I’m currently experimenting with using GTM for the network-wide goal set ups, and then using and additional universal analytics set up for the individual sites. That way each site can track data from one account, using the universal analytics code, and then the “headquarters” site can use all the info sent to it from GTM. I don’t know if that makes sense, and I’m only in experimentation mode right now, but since this is similar to what I’m trying to do, I thought I’d let you know.
Forum: Plugins
In reply to: [Simple Social Icons] Google Analytics and Simple Social IconsI’ve started this thread on this topic here:
https://wordpress.org/support/topic/how-do-we-track-social-links-as-outbound-links-in-google-analyticsI really want to know as well.
Forum: Plugins
In reply to: [Simple Social Icons] adding additional icons-houzzI also really needed a Houzz icon recently. It would be great to include some of the majors mentioned on these forums, like Houzz and Quora. But now almost all home improvement companies are on Houzz, so it’s a massive one.
Forum: Plugins
In reply to: [Simple Social Icons] Google Analytics and Simple Social IconsMy understanding is that Simple Social Icons merely links out to a social network using an icon.
It does not generate a ‘share’ or interaction from your website. It wouldn’t ‘send’ any data, in other words. So if someone clicked “like” on your site, that wouldn’t have anything to do with this plugin, if you were trying to get that “like” to apply on a Facebook page or post, etc.
You probably want to look into tracking outbound links instead with this plugin.
This might be a resource you’d want to check out, but you’d need to do more research on it:
https://support.google.com/analytics/answer/1136920
Note: If you’re using the Yoast Analytics plugin you can set it to track outbound clicks with a checkbox. From there you’d need to make the link itself on your site trackable, from what I’m reading.
This never works for me either. I use just the tag characters and it won’t work. It’s in the head, but still won’t verify.
We use Genesis mostly. Does anyone know if this is related to anything such as a hosting configuration or anything else?
Forum: Plugins
In reply to: [Import Users from CSV] Won't import, won't show error logDid you find another plugin that works? If so I’d love to know
Forum: Plugins
In reply to: [Import Users from CSV] Won't import, won't show error logI saw another forum on this and was able to update while the plugin was de-activated. It is ok now thanks.
I’d REALLY like a way to remove comments as well! I tried disabling comments site wide but it didn’t do anything. Also tried on the exact post to disable comments and trackbacks, and still no change.
Is this a planned feature?
Forum: Plugins
In reply to: [GEO my WP] Does this work with Multisite?Thanks! Can you tell me what you mean by the location being based on the browser? Where is browser location information stored? Just curious how reliable that method would be for our needs.
Forum: Plugins
In reply to: [Geolocation IP Detection] Will this work with multisite?Will this plugin work with WP Multisite in this way:
So for an example scenario: IP is detected, pop up says “it looks like you’re close to one of these areas” > user picks the location > user is taken to a multisite network site that is all about that location and is a separate site from the top-level site on the root domain.
Or a similar solution (open to ideas)
Thanks for any help you can offer!