Hello, I have downloaded and tried Simplenews Statistics and LOVE it, but my click throughs (CTR) are not being tracked properly. Everything else seems to work perfectly.
I was unable to find documentation, but is there certain format my tags have to have?
I think my problem may be a conflict with TinyMCE or drupal multisite. I tried adding in "http://www.site.com/" before all my links (tinymce usually cuts these out) but I get this result when I click on the link it goes to this broken URL - "http://www.site.com/%2Fsite.com/link/to/site" instead of "http://www.site.com/link/to/site" This brings up a page not found. However, the page not found is tracked in statistics.
Any ideas?
Comments
Comment #1
Docc commentedWich version of mimemail and simlenews are you using? i have a feeling mimemail has changed some functions. It seems now the links are not properly converted to absolute urls before simplenews_statistics. Wich means i have todo this aswell in the module.
Comment #2
Docc commentedAttached a proposed patch. Let me know if this works
Comment #3
brei9000 commentedThanks for patching this.
It is now tracking the click-throughs, but its generating an odd URL that brings a 404 error.
This url: /content/this-is-a-page, gets turned into this url: http:/%2Fsite.com/content/this-is-a-page.
I tried disabling tinymce so I could enter the full url, but it turns this url: http://www.site.com/content/this-is-a-page, gets turned into this url: http://site.com/%2Fwww.site.com/content/this-is-a-page.
Any ideas?
Comment #4
Docc commentedWich version of mimemail/simplenews/statistics are you using? And are you using Full HTML as input format?
Comment #5
brei9000 commentedMime Mail 6.x-1.x-dev
Simplenews 6.x-1.0-rc6
Simplenews Statistics 6.x-1.1
I had Full HTML selected also.
Comment #6
Docc commentedIf you could try again with this patch
Comment #7
brei9000 commentedLooks to be fixed! Thank you very much!
Comment #8
Docc commentedComment #10
AlenaSystems commentedThis issue is apparently not completely fixed. The links in the newsletter body are not correctly replaced and therefore generate a 404 error when clicked.
The following link:
<a href="http://www.example.com/form?param1=value1&param2=value2">http://www.example.com/form?param1=value1&param2=value2</a>get replaced by:
<a href="http://www.example.com/simplenews/statistics/click?nid=36&mail=email%40example.com&url=http%3A/%252Fwww.example.com/form%3Fparam1%3Dvalue1%2526amp%3Bparam2%3Dvalue2">http://www.example.com/form?param1=value1&param2=value2</a>when it should be replaced by:
<a href="http://www.example.com/simplenews/statistics/click?nid=36&mail=email%40example.com&url=http%3A%2F%2Fwww.example.com%2Fform%3Fparam1%3Dvalue1%26amp%3Bparam2%3Dvalue2">http://www.example.com/form?param1=value1&param2=value2</a>We use:
Drupal 6.12
Mime Mail 6.x-1.x-dev
Simplenews 6.x-1.0-rc6
Simplenews Statistics 6.x-1.2 (includes absolute2.patch)
and Full HTML is selected.
Comment #11
leda.ch commentedHi,
How about the status of this issue? Just "suffering" from this ctr-tracking not working (urls aren't changed at all within the body).
It seems, that unfortunately since march nothing has happened here.
I would be grateful, if someone could jump into this.
With the rest I'm completely happy
Rgds
leda
Drupal 6.14
Mime Mail 6.x-1.x-dev (2009-Jun-08)
Simplenews 6.x-1.0-rc6
Simplenews Statistics 6.x-1.2 (no patch applied)
Full HTML
Comment #12
gatsby8870 commentedHi, thanks for a good module.
My issue is the CTR count is actually the "unique clickers" not actual clicks. I have checked on a few different days.
I use:
Simple News 6.x-1.3
Simple News Statistics 6.x-2.1
Mime Mail 6.x-1.0-alpha4
Any thoughts would be appreciated.
Thank you.
Comment #13
weseze commented1.1 is no longer supported