Mautic email links getting replaced leading to broken links [closed] - mautic

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 2 years ago.
Improve this question
I tried adding a url to to my Mautic emails. They are getting replaced by the following links which appears to be broken and is triggering Gmail spam filters.
http://url9156.motivesmedia.in/ls/click?upn=r1I3730w6uT5Y-2F1VS0EcEa6mVXyfIdORD1s4GHTFFGmFiirbW6nwIfkY6YGDQ4R-2B53sf0qOqcp1sMdeFmWbCPQ9IR2WbGVz7om2qClGMZ3H2jb-2BMYi10Cs4PIMVw-2BVCIVhIYDnmhf3sVkz9mxgcGALJQPWRFJm8-2FscN0sIbzITKqzKvFR3gAIUBXTDUsgN-2BVo6BYeB40YHYHS6soAu-2BendJzCPiH4ZdolH7v-2BxflDJtXqlHyjQlS5rtC-2Bdez3HbprER9j29g43oQGbQI7kr2cmf4y6Wb0MP-2BOZcmLc1j6SPxz9pOW0raMmyRInuXvrPM3CkgXC5DXqCDBcuVm3bVnaO8FLQpv1n590vO2sY2r9Lw7-2FyLTP9T2D-2FjXGzHD8vbRcmpQxXOg0ae-2BrEJ2RcZrA-3D-3D8LJs_JZHjo7Iyk6KmIbqvM4N7ab34zxuAK4n5HtR9OHOpxkngg7afD-2FZ2jVRmLFUmgoUskyBbE3Bi-2F9OO534waDayFbPUopg6tOQCst7vXZtbzcRBkET0dtqJ9gpbZap6lV8kJwSB6A3uktLZOKUYH5yxhy7cXkbbHf06zILRskCpPoSUZRIZRAZe5h-2Fgq8-2B2t-2BUA2n1YgKKrhMwmz61v0nfrra-2B50gwmSykieNdRVWRxFeE-3D
The original url is a google drive file. The problem is that when I add a link in my email it always ends up in the spam and when the recipient clicks the link, it's showing a site not found error (Please click the above replaced url to understand what I'm trying to say). When I don't add any links, it ends up in the inbox without any problem.
I have installed mautic on a subdomain mautic.mydomain.com and the root url is given as mautic.mydomain.com (I've tried changing the root url to mydomain.com and clearing the cache but that didn't help.)
Here's a screenshot showing the broken links.
screenshot of broken links in email-tester
There are no log errors being shown.
Please tell me why this is happening and any solution to this problem. Thanks in advance.

Link Tracking Config
Link Tracking in Mautic properly working depends on a few things:
Your hosting configuration
Use of third-party Queues like RabbitMQ or Elasticbeanstalk
If using LAMP, appropriate .htaccess file.
If using LEMP, appropriate nginx.conf.
Because the setup for infrastructure so widely varies, it is difficult to troubleshoot your question without more details.
Spam Score
Mautic will automatically replace your links with a link through the Mautic platform in order to track clicks.
If you want to decrease your spam score, you should look into the following:
Mautic should be on the same domain you are sending emails from... otherwise it will always look spammy.
Set up SPF / DKIM On your domain.
Reduce the number of links in your email. Too many and it can get a higher spam score.

Related

How to protect google analytics mobile tracking ID from hacking [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 6 years ago.
Improve this question
Is there any solution to protect google analytics from receiving fake information from Spammers ? The problem is anybody can send information by knowing tracking id.
I found the following solution, filter domain. But that's for web and how to implement for mobile app ?
https://blog.kissmetrics.com/protect-analytics-from-hacking/
Thanks
Visible Tracking ID
On a website you can right click, Show source but you can't on a mobile application. Therefore your trying ID can't be find from your clients application. Nonetheless, if your code is pushed to a public repository (Github for example) robots may find it.
Random spammers
Even if your trackingID is kept secret you'll have some bot spamming your account randomly (they try every possible tracking ID). Google added a tool to prevent this: go to Admin > View > View settings > turn on Exclude all hits from known bots and spiders. Then Google will automatically filter hits from the known fake domains.
Hostname security hack
Even with Google's automatic filter you may still see some spam. This can be fixed with what they explain in the link you provided.
In your article they create a custom dimension and use it to filter real data from spam data. You can also use this with your mobile application, the thing is, it does not need to be a host name it just need to be a string only known by you, its sort of a new secret added to your tracking ID (which should already be secret).
This works because bots can handle the try of every trackingID but they can't try every custom dimension with every possible value, it's too much work for them.

Phone number based Devise authentication for mobile apps [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 8 years ago.
Improve this question
We all know that Devise is de facto standard for implementing authentication on rails based apps.
By default it uses email as ID but also allows you to use usernames instead. It also has "Confirmable" module which lets you confirm the email address by sending an email and clicking through the link to verify your email.
I was looking for something similar for phone numbers--basically accepting phone numbers as primary ID instead of emails, and then confirm the phone number by sending an auth code as SMS message to the user's number via something like Twilio, and then let the user confirm it by entering the code (or even let the user click through a generated link to verify just like they do with emails)
The reason I was expecting there to be a popular devise module for this functionality was because it seems as if most mobile social apps accept phone numbers and confirm the number nowadays. There's gotta be someone who thought this was a problem and open-sourced a module for this. However I couldn't find any popular ones. Actually to be precise, here are the only three relevant links I've found on this:
https://github.com/giano/devise_sms_activable
https://github.com/baranov-sv/devise_sms_confirmable
Rails register User using phone number and confirmation
None of them leads to a working solution (I've tried devise_sms_activable but it doesn't work for rails 4, plus I'm wary of the low number of stars) So I wanted to ask if there's any viable solution to this. Am I missing something? Has this topic been brought up among the Devise developer community? I'm curious about the solution but if there is none, I would at least appreciate any answer on why this is not readily available.
[UPDATE]
I think the question might have been a bit misleading. While I can just build it myself, I don't like to re-invent the wheel.
Basically my intention with this question was:
If there's any package that does this (like all the modules such as confirmable, token_authentcatable, etc. Maybe not even a Devise module and it could be entirely a different thing)
Or, if there is no such pre-built solution, why there isn't one. I just can't comprehend why there is no such solution I can find when everyone seems to be doing this.
I will gladly accept when I get an answer to either #1 or #2. Thanks!
i've looked into that before... but the project requirements changed... so all of the following are relative links found on the devise wiki
this how to allows you to sign in and authenticate with different fields other than the email address
A Simple Token Authentication Service for Mobile Devices Using Rails 3 and Devise.
you can use the previous tuts in conjunction with some thing like Twilio to send the created custom auth token and authenticate user with phone number other than email.
[UPDATE]
since you mentioned an already working solution, I think this is what you are looking for. Active Model OTP and this blog post it's new and i didn't have the chance to test drive it :D
I also found Two factor authentication Devise extension
[UPDATE Aug/2017]
Based on a project that I was recently working on, I found that Tinfoil/devise-two-factor provides a really good/extensible integration with devise (and is highly customizable)... using the internal ROTP gem, you can provide different length codes based on different authentication methods (APP/SMS) and different window/drift allowed per method without having to write the whole thing from the ground up. (highly recommended if you want full power over complex workflow)
I'm the OP, and since I asked this question, I've come across a gem called active_model_opt https://github.com/heapsource/active_model_otp
This gem is not exactly a devise plugin but it does exactly what i was looking for. Basically by adding it to your user model it generates one time passwords that are valid for a certain amount of time. It even has a built-in function to "authenticate" using the one time password.
Anyway I hope anyone who stumbled upon this question may find this answer useful.
Probably not exactly what the OP was looking for, but for Rails developers in China, now there's a gem called china_sms which automatically integrates various Chinese SMS sending services into your Rails app. I'll just add it here in case anybody shall find it useful.
https://github.com/saberma/china_sms
https://ruby-china.org/topics/12407

Switching from blogspot to custom domain [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 9 years ago.
Improve this question
I have a blog on blogspot with url say myblog.blogspot.com. Now its getting around 30,000 page view in a month. I want to change the blog url as myblog.com.
But, I worry that the amount of traffic I have gained till now, will become nil because of new url. Google page rank and alexa rank will go to nil.
So, should I change the domain of my blog or not?
Maybe this Link will help you: How do I use a custom domain
It s a simple forward, so your rankings will not go to nil.
Your original Blogspot address will automatically forward to your new domain. That way, any existing links or bookmarks to your site will still work.
When you migrate from a sub-domain of blogspot to your own domain you must set up proper redirects. The redirects should be the permanent (301) type, not the temporary (302) variety). Permalinks should redirect directly to corresponding permalinks:
http://myblog.blogspot.com/ -> http://myblog.com/
http://myblog.blogspot.com/this-is-a-blog-post -> http://myblog.com/this-is-a-blog-post
You should also make sure you change all your internal links to make sure they don't mention your old sub-domain. If you control any external links, you should change those. You might even consider asking some webmasters to change the external links that point to your blog.
Even if you do the redirects correctly, there is a good chance that you will lose Google traffic for some time. The last time I tried a move from a sub-domain to a full domain (several years ago), I lost about 75% of my Google referrals for about 8 months. After 8 months, Google seemed to trust my new domain again and my traffic came right back.
Google has a change of address tool as part of webmaster tools. It is limited to use on "full-domains" and it won't work in your case because you are starting out on a sub-domain. Google has a help document that goes along with it which you may still find useful.

Can I use images from Google results on my website? [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
I'm planning to create a module for my directory which would fetch images from user's website using Google Image Search via this scenario:
User logs in to his account
Enter his website URL
Application request images from domain cached by google
Application displays N amount of images from website offering to link them to his profile
On confirmation, application will copy images to my server
Am I allowed to do that, and would it breach any copyrights?
UPDATE
I presume that person created account in my business directory is owner of that website (it states in Terms and Conditions) and as an owner he is accessing his website. Application would display thumbnails and fetch original image from his website using links from Google results. Does it make any difference?
Disclaimer: IANAL
As long as you only use thumbnails of maximum 80 to 200 pixels in size, then it is considered fair use. I also advise linking the image the source page and mentioning somewhere that the images may be copyright material.
Make sure to use the API, rather than scraping the results page.
You'll find that the Google images results have this disclaimer attached to them: "This image may be subject to copyright." I'd say you'd be in the wrong.
Similar to Facebook, you can use the images to link to those website. You need to mention that these images may be copyright protected. Google cache's the content. And it's image search says, "Image may be subject to copyright"

How can I make Google cache delete old webpages and start to index new ones [closed]

Closed. This question is not about programming or software development. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 6 months ago.
Improve this question
I have a problem concerning Google cache my old content URLs while I created a new website
I have an old website where the old webpages are dead now and created a new website with new webpages.
Because I have old content so when people search on Google for old content the old URLs appear in the search results (as it was cached) instead of the new ones which should be appearing (but not indexed yet), this is because the old content is already indexed by Google and the new ones are not indexed yet.
While when people search of new content the new URLs appear. So for the new content there is no problem, but the problem I have is with the old content.
For that reason above, now I created a new pages with the old URL names to redirect to the new page with the new URL when people search for old content.
My question is what I did to solve this will help the old URLs to disappear from Google cached pages and start to index the OLD content with new URLs instead or should I keep with page not found?
Here's an example of the case I have:
When I search for old content this URL appear in search results --
www.example.com/Sectionnewsdetail.aspx?id=10132
which is deleted and land on page not found
So I created a webpage with the old name
Sectionnewsdetail.aspx to redirect to the new content page --
http://www.example.com/Content/SectionNews.aspx?NewsID=13855
whenever any one click on the old URL on Google my solution redirects him to the new page
So which case will help Google cache forget the old URLs and index the new URLs.
Keeping page not found or the solution I did as explained above?
Try submitting your site again. But It could still take a week or two.
The easiest way could be adding the cross-domain rel="canonical" link element in your old website. Google Tutorial
There are situations where it's not easily possible to set up
redirects. This could be the case when you need to move your website
from a server that does not feature server-side redirects. In a
situation like this, you can use the rel="canonical" link element
across domains to specify the exact URL of whichever domain is
preferred for indexing. While the rel="canonical" link element is seen
as a hint and not an absolute directive, we do try to follow it where
possible.

Resources