FXM - create custom goals - sitecore

I want to use FXM on the external Non-Sitecore website for tracking the click event which will download documents.
In the external website, User will login so Website is having additional details name, email, phone number etc for the user.So using FXM, can I get Name, email, phone number from the external website to the Sitecore contacts, Once I have this details in Sitecore can I trigger some goals and write some custom code to send this data to Salesforce (an API call)?
Not sure whether this is the right approach but I am just throwing it out. I can directly call the Salesforce API from the external website but I want to take advantage of Sitecore features so that I track the website analytics data.

You can trigger a Sitecore Goal on the txternal site in FXM on the button for the form.
For Salesforce integration have you considered Salesforce connect? https://dev.sitecore.net/Downloads/Salesforce_Connect.aspx

Related

how to create realtime notification in django without using django channels

For every action such as-
log in
sign up
password reset
Notifications should be seen to the user with a notification bell icon (just like Facebook)
where real-time notifications are shown according to each action performed.
Also, an email should be sent to that user.
Note - (YOU CAN USE ANY DJANGO LIBRARY EXCEPT DJANGO CHANNELS)
this is the question that I want to solve. please help me.
You can use the Google Firebase Cloud Messaging service. There a lot of packages that work with this service. I recommend you to use fcm-django package for simplicity.

Upon adding a new document to a docLib, send a link to the document to an external user

I am working on creating a 2013/SharePointOnline workflow that will start when a new document is added to a specific document library, and then send an email, to an external user, with a link to the document.
For the purposes here, an external user, is a user who does not, and will not have an account in SharePoint. We will have the users name and email address.
Good stuff
I have a workflow that starts with a document is added.
The workflow then extracts a bit of meta data. (this works)
I can fire off an email to any internal user.
Problem:
When trying to send an email to an external user the workflow registers an error
This problem has several solutions I can find online, the easiest of which is
In Central Admin and Web Apps general settings - choose Workflows.
Adjust the setting "Allow external users to participate in workflow by sending them a copy of the document?" to yes.
Default is no.
But I have a really hard time finding this option in SharePoint online / 365.
I must not be looking in the right places. Does anyone know where I can find it?

Retrieve user data from Google Analytics based on the __utma cookie

I am trying to find out how active are the users of my web page after registration, based on what was the source/landing page of their first visit. I would rather not try to track users myself - I am already employing Google Analytics on my web page and I know it uses the __utma cookie to tell one user from another. I can see summarized landing pages/sources in my Analytics reports but would need to have this data per specific user in the time of their sign up.
Essentially, when the user signs up with my web page I would like to retrieve their landing page and source from Google Analytics and store it in my application's database along with user's name, password, activity etc. This way I could check later, for example whether users who came from Google were more prone to buying premium service that those who came from Facebook etc.
I checked the Google Analytics API reference but it doesn't seem to provide getters for this specific data. I've been looking in up in Google and in Stack Overflow for a while.
This seems like a pretty useful functionality, which many websites should need. What am I missing? Maybe I should seek for a solution that doesn't involve GA? Or switch to a different analytics? Or track user's landing pages with cookies myself?

Offline testing of OpenGraph / 'Like'

How can I test the 'Like' button functionality and OpenGraph data embedded in my pages while my site is not publicly accessible?
I have an internal test environment where my site is being built and tested. The environment is locked down by IP to a certain set of machines. I want to be able to verify the end-to-end scenario of performing a 'Like' and seeing the parsed OpenGraph data on a user's Timeline without having to open up my site to public access.
I know there's a user agent for the Facebook crawler, but allowing by user agent is risky as anyone can send any user agent string. Ideally, I'd like to lock it down to Facebook's crawler's IP range without having to parse logs to find what one or two of those IPs might be (I assume there's quite a few machines crawling the web for data).
My problem today is that I can click 'Like' and have it show up with a plain URL back to my site, but the crawler can't reach me since the page effectively doesn't exist for it when it hits my server.
How can I test the 'Like' button functionality and OpenGraph data
embedded in my pages while my site is not publicly accessible?
You really cannot do that. It has to be lint-able by Facebook. See: https://developers.facebook.com/tools/lint Be sure your page is publically avaible and able to be linted by the facebook linter tool.
This works fine with four social network previews: https://chrome.google.com/webstore/detail/open-graph-preview/ehaigphokkgebnmdiicabhjhddkaekgh?hl=es
It doesn't support the like button, just the preview.
From my localhost...as "proof of solution"

PayPal After checkout handling

I have a web service at which users can buy reports made on the fly using PayPals Express checkout process. I want to make sure that no matter how the user returns to the site (through paypals callback or by himself) he could download the report he payed for. For that I need to keep the report ID he has bought somewhere. Where and how would it be best to do that? (Cookies? Sessions Parameters?)
I am using ASP .Net C#.
Thanks,
Wess
Do the users have logins that are managed by you in your database? If so and you want the user to be able to return at any time to your page and download the report, then you'll need to use a PayPal callback to store in your database what report ID the user has purchased.
If you don't manage your users then I'm not sure how this can be accomplished because cookies are limited (and can be disabled by users) and sessions expire.