Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

instantanalytics url not redirecting to asset url. #20

Open
knynkwl opened this issue Nov 18, 2019 · 6 comments
Open

instantanalytics url not redirecting to asset url. #20

knynkwl opened this issue Nov 18, 2019 · 6 comments
Assignees
Labels

Comments

@knynkwl
Copy link

knynkwl commented Nov 18, 2019

On our production site, the url isn't redirecting to the asset url, it's just giving a blank white screen. It's working on our local env.

@knynkwl
Copy link
Author

knynkwl commented Nov 18, 2019

Is there a reason or server config that would be disabling the redirect?

@khalwat
Copy link
Contributor

khalwat commented Nov 25, 2019

This is going to be some kind of server config issue if it is working in local dev, but not on production.

What specifically it is, I don't have enough information to assist you with.

Can you note your production environment, and the differences between your production environment and your local dev environment?

@knynkwl
Copy link
Author

knynkwl commented Dec 17, 2019

We are hosted on Acrustech, and I'm just using MAMP as my local ENV.

@khalwat khalwat self-assigned this Apr 6, 2020
@khalwat khalwat added the bug label Apr 6, 2020
@knynkwl
Copy link
Author

knynkwl commented Apr 20, 2020

Hey coming back to this. On our staging site, I am getting:

400
Invalid data received for parameter "eventValue".

Is there something I am doing wrong?

I am adding

<a href="{{ eventTrackingUrl(url, resource.title, "click", "label", "resource")}}" ></a>

@khalwat
Copy link
Contributor

khalwat commented Jul 24, 2020

Sorry @knynkwl I lost track of this one, I will have a look at this; someone else mentioned they were having this issue as well.

@uaextension
Copy link

uaextension commented Jul 24, 2020

Sorry @knynkwl I lost track of this one, I will have a look at this; someone else mentioned they were having this issue as well.

It was me! We've been experiencing a blank screen issue with both eventTrackingUrl() and pageViewTrackingUrl()
Example of a generated URL: https://ext.ualberta.ca/instantanalytics/eventTrack/view?url=https%3A//drive.google.com/file/d/0B1qTKpPMGo0eZFhVdThJUUhuODQ/view%3Fusp%3Dsharing&eventCategory=link&eventAction=click&eventLabel=test&eventValue=0

  • general.php / .env: 'production' mode; with the devMode set as both true and false.
  • Craft Pro 3.3.15, Instant Analytics 1.1.7
  • PHP 7.2.24, Linux 4.15, MySQL 5.7.30

If there are any other config settings that I could share to make debugging possible just let me know.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants