Closed (fixed)
Project:
Crazy Egg Integration
Version:
7.x-1.0
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
7 Jan 2015 at 19:06 UTC
Updated:
7 Feb 2018 at 14:14 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
jenna.tollersonPatch
Comment #2
jenna.tollersonNow getting feedback from Crazy Egg support that the original code should be working; may have jumped the gun on this.
Comment #3
hkorik commentedIt looks like the Crazy Egg script update does need to be used
in order not to receive this error when adding a new screenshot to a page on your site.
I have confirmed this with Crazy Egg customer support,
and tested that this patch update fixes the error with my testing environment.
Comment #4
jenna.tollersonAlrighty then switching back to active
Comment #5
michelleJust noting that this updated script was incorporated into the D8 branch already.
Comment #6
Anonymous (not verified) commentedThe script seems to need another update; CrazyEgg tells me that although the script will work, it is out of date, and offers this script instead:
I guess they decided to start using
script.crazyegg.cominstead of cloudfront.net.Comment #7
damienmckennaI don't see any difference between the code in the patch and what's in #6.
Comment #8
damienmckennaSo the JS wasn't working, so I reworked the output so it manually inserted the JS rather than using drupal_add_js().
Comment #9
damienmckennaAn alternative approach, this adds an option to control whether the JS is added to the header or footer.
Comment #10
damienmckennaOh, there was a question mark missing in the URL so the timestamp was being appended right after the ".js", i.e. as part of the path, instead of as a query string.
Comment #11
phire commentedPatch #10 had some whitespace and formatting issues that didn't apply cleanly. This just fixes that - otherwise everything is the same. Tested against 7.x-1.x
Comment #12
chroid commentedI can confirm that the patch in #11 both functions correctly (with regards to adding the header/footer options) AND corrects the message in the Crazy Egg dashboard/snapshot relating to out of date inclusion script.
Not much movement on this in a while - are we likely to see it committed through?
Comment #13
michelleI'm going to try and take some time to get a full release out for the D8 branch, which is what I signed on for. Since the original maintainer doesn't seem to be active on here, I'll have a look at the D7 branch as well. I don't want to commit to any ETA because that never seems to work out but it looks like I'll have some extra internal time in the near future so hopefully soon.
Comment #15
michelleI tried out the patch and see the additional options and the script is still being added so I went ahead and committed it. However, I do not have a CrazyEgg account so I have no way to test that this is working for real. It would be great if someone could test the dev snapshot when it is released to be sure everything is still working correctly. If there are any problems, please let me know.
Comment #17
shiraz dindarHi @Michelle,
I see that you committed the fix to dev, but the dev release for this module is not published (so you can't see it on the module page, nor can you download it with drush --select). I grabbed the dev release with a direct git clone of the module, but you probably want to publish it too.
Cheers and thanks
Shiraz
Comment #18
thomasmurphy commentedIt would be great to get this into the main release module.
Comment #19
michelleSorry, this fell off my radar. There hasn't been anything new reported in a while so I'll look into making a new release, hopefully sometime this week.