ContributionsMost RecentMost LikesSolutionsStrip parameters from http.request.url URL Hi, So we had an issue with gating attachments. We wanted to make sure all users had to login/register to access attachments. This worked fine until an event sent out an email with a link to an article on our community, but with tracking codes in the URL. When the user clicks an attachment, they get redirected to login, but then it tries to redirect them back the article with all the tracking codes attached. These actually cause it to error out and redirects to our support website (our server default I suppose, not sure). I want to strip out the tracking codes, which begin with "?stc=". This is the code I have: <#if user.anonymous> // if user is anonymous <#attempt> <@liaAddScript> (function($) { var referrer = ${http.request.url?keep_before("?stc=")}; // set referrer to the current URL but cleaned up var loginUrl ='LOGINURL?url='+referrer; // append referrer to the login url for a redirect jQuery('a.attachment-link').attr('href',loginUrl); // pop this login + referral URL into attachment anchors })(LITHIUM.jQuery); </@liaAddScript> <#recover> </#attempt> </#if> I got the concept of gating attachments to anonymous users from here, and that works as expected. It's only now that I'm trying to modify ${http.request.url} that it isn't working at all. The sample code actually used "window.location.href" for the referral, but I don't know how I would go about removing the tracking codes from that. I also looked into js strip() but I'm not knowledgeable enough in it (or Freemarker) to figure this out. I'm currently adding this to the page wrapper. Thanks, Katie Lithium/Eloqua integration Hi all, My community is currently interested in an Eloqua integration. I understand it's quite easy to execute (download some EQ scripts, configure in studio), but I was wondering if anyone could tell me what the actual integration looks like. Is there some kind of dashboard on the Lithium side or Eloqua side? How do you determine what data gets passed between the two, etc? Is there reciprocity? We are so far interested in filling out our Eloqua contact profiles with user data from Lithium, but this could possibly expand to surveys, etc. I've already seen some posts on here about Eloqua, but nobody really dives into this. Thanks! Katie Re: Bulk data API - discern & filter company by email domain?Thanks, that's what I was thinking.Bulk data API - discern & filter company by email domain? Hello, Essentially a user wants to be able to track certain members belonging to a company, let's just say Google. She wants to create a dashboard to track all Google employees on our community. Obviously an easy way to do this is to use roles or specific interaction areas, but it was suggested we attempt to use API instead. Before I try to piece together the code, I want to know if this is even possible. Basically my logic flow is searching for member email addresses containing "google", while ignoring the '@' and before, and the '.' and after. Pattern matching. Then returning results about say, how long they're logged on. Not exactly sure of what results the user wants at this point. Does anyone have any ideas about this? As far as I'm aware, there is no real way to pull data based on an email address. Thanks! Solved