Home › Forums › Community Forum › API Tracking code not working
Tagged: tracking
This topic contains 12 replies, has 4 voices. Last updated by Cristián Lávaque 4 years, 9 months ago.
Topic Author | Topic |
---|---|
Posted: Tuesday Mar 27th, 2012 at 6:05 pm #9302 | |
|
|
Perhaps I’m very confused in this matter. We’ve placed the tracking codes for zferral in the appropriate areas within s2member API tracking area. However when someone purchases anything, the code is no where to be found on the page. It’s a simple javascript method within a script tag. For debug purposes we placed the tracking in all of the areas that support it, but again none of the scripts become visible within the inspector on completion of payment. Any help you could provide would be appreciated. |
List Of Topic Replies
Author | Replies |
---|---|
Author | Replies |
Posted: Wednesday Mar 28th, 2012 at 5:37 pm #9382 | |
![]() |
|
Hi Peter, Have you read the documentation found at Dashboard -› s2Member® -› API / Tracking -› Signup Tracking Codes?
Can you please confirm that your tests have involved using the payment gateway (i.e., non-free accounts) and that you’ve checked for the tracking code in all the locations mentioned above? |
|
Posted: Thursday Mar 29th, 2012 at 10:56 am #9458 | |
|
|
That is correct. We’ve read the documentation in that article as well as all others on the tracking page. We are looking for tracking on payment transactions (no free transactions). We’re using paypal payments pro for credit card and paypal payments. Once paid either by paypal or credit card, the user returns to the same page with the form where a confirmation/login message appears at the top of the form. The tracking code does not then appear on the page, nor does the tracking script appear when the user first logs in. Is it necessary to make use of a custom return url in this case or should the tracking code be appearing as expected? Thanks for your fast reply. |
|
Posted: Thursday Mar 29th, 2012 at 10:17 pm #9523 | |
![]() |
|
Hi Peter, I will need to escalate this to the lead developer (Jason) to see if he can offer any further suggestions. Thank you for your patience. |
|
Posted: Thursday Mar 29th, 2012 at 10:34 pm #9532 | |
|
|
Could you show us a screenshot of your Tracking API page with the code you added? (blur any private info, please) [hilite path]Dashboard -› s2Member® -› API / Tracking[/hilite] What the URL to the page where you have the tracking? Have you tried this with the default theme? I wonder if the one you’re using could be interfering with this. |
|
Posted: Friday Mar 30th, 2012 at 2:45 pm #9594 | |
|
|
Hi again, thanks for your support. We’re using a custom theme, but it used to work. I cannot replicate why the tracking no longer shows up. Would there be any conflicts with using ssl/https? Please see the attached settings page. Inside the sections is zferral affiliate tracking code, which resembles:
Settings screenshot: |
|
Posted: Friday Mar 30th, 2012 at 8:54 pm #9617 | |
|
|
Thanks Peter. I didn’t notice something wrong there… I imagine you read this:
Are all the conditions met when you look for the tracking code in the page’s HTML? |
|
Posted: Monday Apr 2nd, 2012 at 6:13 pm #9813 | |
|
|
Hi Cristian, Would you be able to clarify what you mean by conditions? I believe we are meeting all of the conditions. I’ve also checked to see if the code is appearing in all of the possible locations. I did notice there were some differences between the two urls Here’s the url of the page that’s working (displaying the zferral code): Here’s the url of the page that’s not working: Notice the omission of forward slash immediately before the query string. Not sure if this should be affecting anything, but we don’t really have much to go on. Is there any other info you can give us on why the code might not be getting inserted? Thanks! |
|
Posted: Monday Apr 2nd, 2012 at 8:25 pm #9825 | |
|
|
I’ll ask Jason if there is anything else we should know about the tracking codes with pro-forms. The docs say
so even if you didn’t see the tracking code in the page with the pro-form, did you look for it in those? Also, could you post the log entry related to the transaction with the problem? Not sure if it’ll show anything about the tracking, but would like to see if it has any errors. Please, x’ing out any private info (e.g. email, last names).
|
|
Posted: Tuesday Apr 3rd, 2012 at 11:18 am #9870 | |
![]() |
|
Thanks for the heads up on this thread. I noticed those links you posted were on two different domains. I suspect that’s the underlying cause. s2Member’s tracking codes work in conjunction with browser cookies that identify a paid customer immediately after a purchase. Mixing multiple domain names into a single installation may cause unexpected conflicts. WordPress will set cookies for the domain the site is configured to run on. If the domain the customer actually ends up on after checkout is different, it may fail to display tracking codes. If you can please explain why the two links you posted are using different domains, that will help. I’ll assume you’re running a Multisite Network, is that correct? |
|
Posted: Tuesday Apr 3rd, 2012 at 5:04 pm #9958 | |
|
|
The staging site and live site are configured identically. On the staging site the code appears on the form after submission. I also checked the footer, as well as the log-in page after the first log-in with no luck. Here’s the error log (let me know if there’s something I shouldn’t be making public): [Sun Apr 01 03:57:24 2012] [warn] RSA server certificate CommonName (CN) `launcheffectapp.com’ does NOT match server name!? |
|
Posted: Tuesday Apr 3rd, 2012 at 5:27 pm #9972 | |
|
|
Hi Jason, The two domains are actually on two separate WordPress installations. One is a subdomain of the domain barrelclient.com that we use for staging changes to the production site, the other domain, which is located at launcheffect.com. The two are on the same server but are completely separate installations. Not sure if there’s a setting which may not have been updated, but I’ve scoured the plug-in’s settings and everything appears to be in order. Could these problems be caused by the plug-in being originally installed on the staging environment before launching it to the production domain? |
|
Posted: Wednesday Apr 4th, 2012 at 4:47 am #10023 | |
|
|
Peter, I just noticed something wrong in your launcheffectapp.com site. There are some links that have www and some that don’t. Please read this: Knowledge Base » Don't mix www and without |
This topic is closed to new replies. Topics with no replies for 2 weeks are closed automatically.